package us.mooresr.webtroopmanager.shared;

import javax.persistence.Id;

import com.google.gwt.user.client.rpc.IsSerializable;

public class EventDriver implements IsSerializable {
	@Id private Long id;
	private Long eventId;
	private Long personId;
	private Long vehicleId;
	
	public EventDriver() {
		super();
	}
	
	public EventDriver(Long id, Long eventId, Long personId, Long vehicleId) {
		super();
		this.id = id;
		this.eventId = eventId;
		this.personId = personId;
		this.vehicleId = vehicleId;
	}
	
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	public Long getEventId() {
		return eventId;
	}
	
	public void setEventId(Long eventId) {
		this.eventId = eventId;
	}
	
	public Long getPersonId() {
		return personId;
	}
	
	public void setPersonId(Long personId) {
		this.personId = personId;
	}
	
	public Long getVehicleId() {
		return vehicleId;
	}
	
	public void setVehicleId(Long vehicleId) {
		this.vehicleId = vehicleId;
	}
	

}
